home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
appsrcs.zip
/
APPPRINT.ZIP
/
APPTOOLS.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-01
|
736b
|
20 lines
#define STRICT
#include <windows.h>
#include <windowsx.h>
#include <stdio.h>
#include "appprint.h"
/*----------------------------------------------------------------------------*/
/* FUNCTION: OkMsgBox(char *szCaption, char *szFormat, ...) */
/* */
/* PURPOSE: Display in an OKmessageBox a given text */
/*----------------------------------------------------------------------------*/
VOID OkMsgBox(char *szCaption, char *szFormat, ...)
{
char *pArguments;
pArguments = (char *) &szFormat + sizeof(szFormat);
vsprintf(szBuffer, szFormat, pArguments);
MessageBox(NULL, szBuffer, szCaption, MB_OK);
}